From 23f975dc971056b6b881acbedadc122aa8a56595 Mon Sep 17 00:00:00 2001 From: tsteven4 Date: Thu, 8 Aug 2013 03:36:50 +0000 Subject: [PATCH] conrad fixes the fix for tmpro. git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4524 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/tmpro.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gpsbabel/tmpro.cc b/gpsbabel/tmpro.cc index 1f0089519..78523062c 100644 --- a/gpsbabel/tmpro.cc +++ b/gpsbabel/tmpro.cc @@ -216,7 +216,7 @@ tmpro_waypt_pr(const waypoint * wpt) if (wpt->HasUrlLink()) { // Yes, it's lame to allocate/copy here. UrlLink link = wpt->GetUrlLink(); - l = xstrdup(link.url_.toUtf8().data()); + l = xstrdup(link.url_.toUtf8().data()); } gbfprintf(file_out, "new\t%.6s\t%.80s\t%08.6f\t%08.6f\t\t\t%.2f\t%d\t%d\t%.128s\n", shortname, @@ -226,7 +226,7 @@ tmpro_waypt_pr(const waypoint * wpt) wpt->altitude, colour, icon, - l + l ? l : "" ); -- 2.30.2